package com.ecommerce.order.service.impl;

import com.ecommerce.order.service.CouponService;
import org.springframework.stereotype.Service;

/**
 * 优惠券服务实现类
 */
@Service
public class CouponServiceImpl implements CouponService {
    
    @Override
    public void useCoupon(Long userId, Long couponId, Long orderId) {
        // TODO: 实现优惠券使用逻辑
    }
    
    @Override
    public long calculateDiscount(Long couponId, long totalAmount) {
        // TODO: 实现优惠金额计算逻辑
        // 暂时返回0，表示没有优惠
        return 0;
    }
}